package com.sitr.house.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.sitr.house.common.model.User;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

@Mapper
@Component
public interface UserMapper {

    List<User> selectUsers();

    int insert(User account);

    int delete(String email);

    void update(User updateUser);

    List<User> selectUsersByQuery(User user);
}
